<!--
 * @Author        zzx
 * @Date          2024-09-24 19:02:54
 * @LastEditTime  2024-11-14 14:42:45
 * @LastEditors   zzx
 * @Description   功能描述
-->
{% extends 'layouts/base.html' %}

{% block title %} Tables {% endblock title %}

<!-- Specific CSS goes HERE -->
{% block stylesheets %}{% endblock stylesheets %}

{% block content %}



<div class="min-height-300 bg-primary position-absolute w-100"></div>

{% include "includes/sidenav.html" %}

<main class="main-content position-relative border-radius-lg ">

  % include "includes/navigation.html" %}
  <div class="container mt-5">

    <form action="{{ url_for('home_blueprint.add_item') }}" method="POST">
      <div class="card mb-3">
        <div class="card-header pb-0">
          <h6>Add Item</h6>
        </div>
        <div class="card-body">
          <label for="name" class="form-label">Name</label>
          <input type="text" class="form-control" id="name" name="name" quired>

          <label for="name" class="form-label">ip</label>
          <input type="text" class="form-control" id="ip" name="ip" required>


          <label for="name" class="form-label">servers_id</label>
          <input type="text" class="form-control" id="servers_id" name="servers_id" required>
        </div>

      </div>
      <button type="submit" class="btn btn-success">Submit</button>
    </form>
  </div>
  {% include "includes/footer.html" %}

  </div>

</main>

<!-- <script>
function change_event(id){console.log(id,"-================")}
</script> -->

{% endblock content %}

<!-- Specific JS goes HERE -->
{% block javascripts %}{% endblock javascripts %}